package com.rybbaby.tss.front.tssMemberAttendClassRecord.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @description 会员报班记录表
 *
 * @author 雷春琼
 *
 * @createDate 2017-08-24 下午2:43:28
 */
@Entity
@Table(name = "view_daily_attendance")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewDailyAttendance implements Serializable {


	private static final long serialVersionUID = 8498208670889344491L;
	/** 主键 **/
	private String id;
	/** 会员姓名 **/
	private String studentName;
	/** 联系电话 **/
	private String contactPhone;
	/** 会员类型 **/
	private Integer type;
	/** 课程名称 **/
	private String courseName;
	/** 上课日期 **/
	private java.sql.Timestamp createTime;
	/** 上课开始时间 **/
	private java.sql.Timestamp startTime;
	/** 上课结束时间 **/
	private java.sql.Timestamp endTime;
	/** 授课老师 **/
	private String realName;
	/** 历史考勤状态 **/
	private Integer historyAttendenceStatus;
	/** 考勤状态 **/
	private Integer attendenceStatus;
	/** 当前消耗课时包 **/
	private String packageName;
	/** 课时类型 **/
	private Integer formalClass;
	/** 课时类型 **/
	private Integer giftClass;
	/** 最后操作人 **/
	private String userName;
	/** 最后操作日期 **/
	private java.sql.Timestamp updateTime;


	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.Integer 主键
	 */
	@Id
	@GeneratedValue(generator = "view_daily_attendanceIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "view_daily_attendanceIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "studentName", nullable= false, length = 12)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	@Column(name = "contactPhone", nullable= false, length = 11)
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	@Column(name = "type", nullable= false, length = 11)
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "courseName", nullable= false, length = 50)
	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	@Column(name = "createTime", nullable= false, length = 32)
	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Column(name = "startTime", nullable= false, length = 32)
	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	@Column(name = "endTime", nullable= false, length = 32)
	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	@Column(name = "realName", nullable= false, length = 12)
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Column(name = "historyAttendenceStatus", nullable= false, length = 11)
	public Integer getHistoryAttendenceStatus() {
		return historyAttendenceStatus;
	}

	public void setHistoryAttendenceStatus(Integer historyAttendenceStatus) {
		this.historyAttendenceStatus = historyAttendenceStatus;
	}

	@Column(name = "attendenceStatus", nullable= false, length = 11)
	public Integer getAttendenceStatus() {
		return attendenceStatus;
	}

	public void setAttendenceStatus(Integer attendenceStatus) {
		this.attendenceStatus = attendenceStatus;
	}

	@Column(name = "packageName", nullable= false, length = 32)
	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	@Column(name = "formalClass", nullable= false, length = 11)
	public Integer getFormalClass() {
		return formalClass;
	}

	public void setFormalClass(Integer formalClass) {
		this.formalClass = formalClass;
	}

	@Column(name = "giftClass", nullable= false, length = 11)
	public Integer getGiftClass() {
		return giftClass;
	}

	public void setGiftClass(Integer giftClass) {
		this.giftClass = giftClass;
	}

	@Column(name = "userName", nullable= false, length = 50)
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "updateTime", nullable= false, length = 32)
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}